
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Admin</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">
		<link href="css/bootstrap.css" rel="stylesheet">
		<link href="css/bootstrap-responsive.css" rel="stylesheet">
		<link href="css/adm.css" rel="stylesheet">
		<!--[if lt IE 9]><script type="text/javascript" src="js/html5.js"></script><![endif]-->
		<!--<script src="js/bootstrap.js"></script>-->
		
<script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>


</head>

<body>
<div class="container-fluid"  >
<?
include'clsJovAdm.php';
$objContenido = new contenido;
$sqltemas = $objContenido -> temas();
?>

<div>
<div class="spacer-10">&#32;</div>


<?

//echo $_GET["tema"]; 

			
			
			$dat= $_GET["post"]; 
			$TemN= $_GET["tema"]; 

	$objContenido = new contenido;
	

				
		    
	$objContenido -> Elim_TemPost($dat,$TemN); 
				
				echo '<script>alert("Tema fue eliminado");	 </script>';
	 
	 echo '<SCRIPT LANGUAGE="javascript">';
            echo 'function MM_callJS() { ';
            echo 'frmvalor.submit() }';
            echo '</SCRIPT>';
            echo '</head>';
            echo '<body onLoad="MM_callJS()">';
            echo '<form name="frmvalor" action="agr_tem2.php" method="get">';
            echo '<input name="act" type="hidden" value='.$dat.'>';
            echo '</form>';
            echo '</body>';
            echo '</html>';	
				
			
				
		





			
		


		
			
			?>
            
	</div>
</div>
</body>
</html>
